from ..extensions import db


class User(db.Model):
    __tablename__ = 'user'
    id = db.Column(db.CHAR(8), primary_key=True, default='')
    login_name = db.Column(db.VARCHAR(50), nullable=False, unique=True)
    name = db.Column(db.VARCHAR(50))
    password = db.Column(db.CHAR(32), nullable=False)
    